package com.manong.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.manong.entity.LoginLog;
import com.manong.entity.Role;
import com.manong.entity.User;
import com.manong.vo.query.LoginLogQueryVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Dorr
 * @since 2025-04-05
 */
public interface LoginLogService extends IService<LoginLog> {

    /**
     * 分页查询登录日志
     * @param page
     * @param loginLogQueryVo
     * @return
     */
    IPage<LoginLog> findLoginListByUsername(IPage<LoginLog> page, LoginLogQueryVo loginLogQueryVo);

    /**
     * 批量删除登录日志
     * @param infoIds
     * @return
     */
    boolean delete(List<Long> infoIds);
}

